package software_construction.DesignProject.d2_LSP.demo2;

public class Bird extends Animal{
    protected double flySpeed;

    public void setFlySpeed(double flySpeed) {
        this.flySpeed = flySpeed;
    }

    public double calcuFlyTime(double distance){
        return distance/flySpeed;
    }

}
